package com.study.spmongodb.wwj.thread2.char04;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/7 19:39
 */
public class OctalObserver extends Observer {


    public OctalObserver(Subject subject) {
        super(subject);
    }

    @Override
    public void update() {
        System.out.println("Octal String " + Integer.toOctalString(subject.getState()));

    }
}
